Automated Presentation of directory src/tutorials/custEducation/opengl1/examples/

HUB | Up | Download | Pheedbak | Tree | Topic | A-Z | Search | Hot | New


to compile programs in the above-indicated sub- directories/trees,
one must load libglut. inst-able images of GLUT v3.1 are located at
toolbox/src/exampleCode/opengl/GLUT/inst/


README file from "examples" directory

OpenGL Programming 1 Course -- Sample Programs

This software will only compile/run on a >= 5.3 Irix system with gl_dev
and x_dev products loaded.

This subtree contains the software included in the OpenGL Programming 1
class course materials available through SGI's customer education
program.  It includes a version of the aux library (some additions over
the version available with the OpenGL Programming Guide), a checkVisual
utility program, and src and binaries demonstrating the following:

adv_lighting
	Programs that demonstrate how to enable 2-sided lighting, and
	enable spotlights.  Also, programs that show how to position
	the lights so that they are fixed in the scene, move with the
	scene, or move independently of the objects in the scene.

alpha_blending
	Programs that demonstrate how to render transparent objects.
	Also, programs that demonstrate how to render objects without the
	"jaggies".

animation
	Programs that demonstrate how to animate a scene without
	flicker.

depth_buffer
	Programs that demonstrate how to use the depth buffer.

dlists
	Programs that demonstrate how to put OpenGL commands in display 
	lists to increase performance.

lighting
	Programs that demonstrate how to enable basic lighting and set
	the normals. Also, programs that demonstrate how to set
	lighting intensities and materials properites.

modeling
	Programs that demonstrate how to use use the basic
	transformations to model a scene.  Also, demonstrates how the
	ordering of effects the net result, and how transformations can
	be kept independent using glPushMatrix/glPopMatrix.

rendering
	Programs that demonstrate the basic drawing primitives, and
	flat and gouraud shading them.

text
	Programs that demonstrate how to render a text string and make
	sure that it doesn't get clipped prematurely when the raster
	position goes outside the window.

transformations
	Programs that demonstrate how to rotate, scale and translate
	objects, and set the projection matrix.

viewing
	Programs that demonstrate how to use gluLookAt() or use the
	basic transformations to create a polarview viewing
	perspective.

viewports
	Programs that demonstrate how to set the viewport and the
	effect of the aspect ratio.

windows
	Programs that demonstrate how to create windows and set the
	background color.

Two appendices are provided to help transition from IRIS GL to OpenGL.

irisgl_vs_opengl
	Programs that demonstrate some of the differences between
	IRIS GL and OpenGL.

porting
	An appendix the walks through some examples of porting IRIS GL 
	programs to OpenGL.  Includes information about writing mixed
	model programs, with and without using a widget set.

The programs in the directories above can be invoked individually, or
through the buttonfly command.  In each directory, there are two 
menu files named 'menu_directoryname' and 'm_directoryname'.  They
are installed in the directory as '.menu' and '.m_directoryname', respectively.
.menu specifies a button for the directory and .m_directoryname contains
the information about how to run each program.

To use the buttonfly program, run the RUN_DEMOS script
in the opengl1 home directory.

% ~opengl1/RUN_DEMOS	




Files of interest from "src/tutorials/custEducation/opengl1/examples" directory

Documentation

Reference

Subdirectories


Select any combo of files you'd like to send yourself a compressed tar image of. Executables/scripts are indicated with a trailing `*' character. (Depending upon the browser, it may be necessary to hold down the Ctrl key to select/deselect disjoint items.) a compressed tar image of the above-selected items.
OR, ...
a compressed tar image of the entire examples directory.

Copyright © 1995-96, Silicon Graphics, Inc.